package com.hdoit.shared.workflow.logal.model;

import java.sql.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.hdoit.common.message.ModelBase;

@Entity
@Table(name="wf_workflowCategory")
public class WFCategory extends ModelBase{
	private String   categoryId;
	
	private String	categoryName;
	
	private String	markCode;
	
	private int	deleteMark;
	
	private String parentId;
	
	private int	level;
	
	private String	hierarchyCode;
	
	private String	code;
	
	private int   sortCode;
	
	private Date createDate;
	
	private String	createUserId;
	
	private String	createUserName;
	
	private Date modifyDate;
	
	private String	modifyUserId;
	
	private String	modifyUserName;
	
	private String	comments;
	
	@Id
	@Column(length = 50,nullable=false)
	public String getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}
	
	@Column(length = 50,nullable=false)
	public String getCategoryName() {
		return categoryName;
	}
	
	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}
	
	@Column(length = 50)
	public String getMarkCode() {
		return markCode;
	}
	
	public void setMarkCode(String markCode) {
		this.markCode = markCode;
	}
	
	public int getDeleteMark() {
		return deleteMark;
	}
	
	public void setDeleteMark(int deleteMark) {
		this.deleteMark = deleteMark;
	}
	
	@Column(length = 50)
	public String getParentId() {
		return parentId;
	}
	
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	
	public int getLevel() {
		return level;
	}
	
	public void setLevel(int level) {
		this.level = level;
	}
	
	@Column(length = 200)
	public String getHierarchyCode() {
		return hierarchyCode;
	}
	
	public void setHierarchyCode(String hierarchyCode) {
		this.hierarchyCode = hierarchyCode;
	}
	
	@Column(length = 50)
	public String getCode() {
		return code;
	}
	
	public void setCode(String code) {
		this.code = code;
	}
	
	public int getSortCode() {
		return sortCode;
	}
	
	public void setSortCode(int sortCode) {
		this.sortCode = sortCode;
	}
	
	public Date getCreateDate() {
		return createDate;
	}
	
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	
	@Column(length = 50)
	public String getCreateUserId() {
		return createUserId;
	}
	
	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}
	
	@Column(length = 50)
	public String getCreateUserName() {
		return createUserName;
	}
	
	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}
	
	public Date getModifyDate() {
		return modifyDate;
	}
	
	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}
	
	@Column(length = 50)
	public String getModifyUserId() {
		return modifyUserId;
	}
	
	public void setModifyUserId(String modifyUserId) {
		this.modifyUserId = modifyUserId;
	}
	
	@Column(length = 50)
	public String getModifyUserName() {
		return modifyUserName;
	}
	
	public void setModifyUserName(String modifyUserName) {
		this.modifyUserName = modifyUserName;
	}
	
	@Column(length = 5000)
	public String getComments() {
		return comments;
	}
	
	public void setComments(String comments) {
		this.comments = comments;
	}
	
}
